package com.shelpe.services.algorithm.semiauto;

import java.util.List;

import com.shelpe.services.algorithm.client.InsightWordData;
import com.shelpe.services.algorithm.entity.batis.RptKeyword;
import com.shelpe.services.algorithm.repository.dto.semiauto.SemiautoCondition;

import lombok.Data;

public interface SemiautoConditionsInitializer {

	void run(SemiautoCondition condition, Context context);
	
	@Data
	public static class Context{
		private long adgroupID;
		private long userID;
		private int interval;
		private List<InsightWordData> wordDatas;
		
		private boolean mobile;
		
		private SemiautoData maxData;
		private SemiautoData averageData;
	}
	
	@Data
	public static class SemiautoData extends RptKeyword{
		private float qscore;
		private float wirelessQscore;
	}
}
